package cn.edu.Day08;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ListTest {
    public static void main(String[] args) {
        List list=new ArrayList();
        list.add(new Date());
        list.add(true);
        String str="Hello World";
        list.add(1,str);
        list.set(1,str.toUpperCase());

        System.out.println(list);
    }
}
